<{include file="Public/top.html"}>
</head>
<body>
<div id="warpper">
    <div class="content">
        <div class="location">达人数据统计</div>
        <div class="ui-tab">
            <{include file="Editor/DaRenData/nav.html"}>
        </div>
        <div class="filedSet" style="padding-bottom: 0;">
            <div class="search">
                <form action="<{U('DaRenData/daRenMonthData')}>" method="get" class="ui-form reportForm" id="searchForm">
                    <input name="m" type="hidden" value="<{$module}>">
                    <input name="c" type="hidden" value="<{$controller}>">
                    <input name="a" type="hidden" value="<{$action}>">
                    <input name="p" id="page" type="hidden" value="<{$page|default:1}>">
                    <input name="limit" id="limit" type="hidden" value="<{$limit|default:10}>">

                    <div class="ui-form-item inline-block">
                        <label class="ui-label">月选择</label>
                        <input type="text" name="monDate" id="monDate" class="ui-text startDate" value="<{$monDate}>" onfocus="WdatePicker({maxDate: new Date(),dateFmt:'yyyy-MM'})" readonly/>
                    </div>
                    <div class="ui-form-item inline-block">
                        <button type="submit" class="ui-button" onclick="LayerShow();">查询</button>
                    </div>
                </form>
            </div>
        </div>

        <!--表格内容-->
        <div class="mainGrid">
            <table class="ui-table ui-body">
                <thead>
                <tr>
                    <th class="pct10">达人姓名</th>
                    <th class="pct10">达人类型</th>
                    <th class="pct10">投稿数量</th>
                    <th class="pct10">点赞人数</th>
                    <th class="pct10">评论人数</th>
                    <th class="pct10">评论次数</th>
                    <th class="pct10 last-col">达人回复数</th>
                </tr>
                </thead>
                <tbody>
                <{if $data}>
                    <{foreach from=$data item=item}>
                        <tr>
                            <td><{$item.realName}></td>
                            <td><{$item.type}></td>
                            <td><{$item.addArticleNum}></td>
                            <td><{$item.praiseNum}></td>
                            <td><{$item.commentNum}></td>
                            <td><{$item.commentTimes}></td>
                            <td><{$item.replyNum}></td>
                        </tr>
                    <{/foreach}>
                <{else}>
                <tr>
                    <td colspan="7">暂无数据</td>
                </tr>
                <{/if}>
                </tbody>
            </table>
        </div>
        <!--描述：分页-->
        <div class="pagination">
            <{include file="Public/page.html"}>
        </div>
    </div>
</div>
<{include file="Public/foot.html"}>
</body>
</html>
